﻿using LanguagePolish.Base;
using LanguagePolish.EntityModel;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using LanguagePolish.Models;

namespace LanguagePolish.ViewModels
{
    class ClassInfoViewModel : BaseViewModel
    {
        public Class Class { get; private set; }

        public DataTable Grades { get { return gradesModel.Grades; } }

        private readonly GradesModel gradesModel;

        public ClassInfoViewModel(Class myClass)
        {
            Class = myClass;
            gradesModel = new GradesModel(Class);
        }
    }
}
